
package com.bei_en.teacher.management.model.system.vo;

import java.util.*;
import com.bei_en.teacher.management.model.system.bean.SystemRole;
import com.bei_en.teacher.management.model.BaseVo;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.*;

/**
 * 用于前端页面数据传递
 * 后台角色
 * @author Longqs
 * @date 2016-6-15 14:55:59
 */
public class SystemRoleVo extends BaseVo {

    private SystemRole systemRole;
    private String resourceList;

    public String getResourceList() {

	return resourceList;
    }

    public void setResourceList(String string) {

	this.resourceList = string;
    }

    public SystemRoleVo() {

	this.systemRole = new SystemRole();
    }

    public SystemRoleVo(SystemRole systemRole) {

	this.systemRole = systemRole;
    }

    public SystemRole getSystemRole() {

	return this.systemRole;
    }

    public void setSystemRole(SystemRole systemRole) {

	this.systemRole = systemRole;
    }

    public Integer getId() {

	return this.systemRole.getRoleId();
    }

    public void setId(Integer id) {

	this.systemRole.setRoleId(id);
    }

    public void setRoleId(Integer value) {

	this.systemRole.setRoleId(value);
    }

    public Integer getRoleId() {

	return this.systemRole.getRoleId();
    }

    public void setRoleName(String value) {

	this.systemRole.setRoleName(value);
    }

    @NotBlank
    @Length(max = 100)
    public String getRoleName() {

	return this.systemRole.getRoleName();
    }

    public void setSourceKey(String value) {

	this.systemRole.setSourceKey(value);
    }

    @NotBlank
    @Length(max = 50)
    public String getSourceKey() {

	return this.systemRole.getSourceKey();
    }

    public void setStatus(Integer value) {

	this.systemRole.setStatus(value);
    }

    @NotNull
    public Integer getStatus() {

	return this.systemRole.getStatus();
    }

    public void setComment(String value) {

	this.systemRole.setComment(value);
    }

    @Length(max = 20)
    public String getComment() {

	return this.systemRole.getComment();
    }

    public void setCreateTime(Date value) {

	this.systemRole.setCreateTime(value);
    }

    public Date getCreateTime() {

	return this.systemRole.getCreateTime();
    }

}